package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: AutherLeaveMessage 
* @Description: 玩/艺术/学乐/达人-留言表定义表
* @author eason
* @date 2016-11-03 12:10:33
*
 */
@Entity
@Table(name = "tb_xa_autherleavemessage")
@ApiModel(value="玩/艺术/学乐/达人-留言表定义表")
public class AutherLeaveMessage extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="用户id（留言人）,用户id")
	private Long userId;
	@ApiModelProperty(value="达人作品id（被留言人）,达人作品id（被留言人）")
	private Long worksID;
	@ApiModelProperty(value="留言内容（500字以内）,留言内容")
	private String leaveMessageContent;
		
	
	public void setUserId(Long userId){
		this.userId=userId;
	}
	
	@Column(nullable=true,length=50)
	public Long getUserId(){
		return userId;
	}
	public void setWorksID(Long worksID){
		this.worksID=worksID;
	}
	
	@Column(nullable=true,length=50)
	public Long getWorksID(){
		return worksID;
	}
	public void setLeaveMessageContent(String leaveMessageContent){
		this.leaveMessageContent=leaveMessageContent;
	}
	
	@Column(nullable=true,length=500)
	public String getLeaveMessageContent(){
		return leaveMessageContent;
	}
		

}
